package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "销售记录的实体")
public class Sales_Record {
    @ApiModelProperty(name = "sr_id",value = "销售记录编号",dataType = "Integer",required = false)
  private long sr_id;
    @ApiModelProperty(name = "order_id",value = "订单编号",dataType = "Integer",required = true)
  private String order_id;
    @ApiModelProperty(name = "customer",value = "客户名称",dataType = "Integer",required = true)
  private String customer;
    @ApiModelProperty(name = "goods_name",value = "商品名称",dataType = "Integer",required = true)
  private String goods_name;
    @ApiModelProperty(name = "goods_pic",value = "商品图片",dataType = "Integer",required = false)
  private String goods_pic;
    @ApiModelProperty(name = "sales_count",value = "销售数量",dataType = "Integer",required = true)
  private long sales_count;
    @ApiModelProperty(name = "total_price",value = "总金额",dataType = "Integer",required = true)
  private double total_price;
    @ApiModelProperty(name = "salesman",value = "销售员",dataType = "Integer",required = true)
  private String salesman;
    @ApiModelProperty(name = "discount",value = "折扣",dataType = "Integer",required = false)
  private double discount;
    @ApiModelProperty(name = "sales_time",value = "销售时间",dataType = "Integer",required = false)
  private Date sales_time;
    @ApiModelProperty(name = "sr_comment",value = "销售记录描述",dataType = "Integer",required = false)
  private String sr_comment;

    public long getSr_id() {
        return sr_id;
    }

    public void setSr_id(long sr_id) {
        this.sr_id = sr_id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_pic() {
        return goods_pic;
    }

    public void setGoods_pic(String goods_pic) {
        this.goods_pic = goods_pic;
    }

    public long getSales_count() {
        return sales_count;
    }

    public void setSales_count(long sales_count) {
        this.sales_count = sales_count;
    }

    public double getTotal_price() {
        return total_price;
    }

    public void setTotal_price(double total_price) {
        this.total_price = total_price;
    }

    public String getSalesman() {
        return salesman;
    }

    public void setSalesman(String salesman) {
        this.salesman = salesman;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public Date getSales_time() {
        return sales_time;
    }

    public void setSales_time(Date sales_time) {
        this.sales_time = sales_time;
    }

    public String getSr_comment() {
        return sr_comment;
    }

    public void setSr_comment(String sr_comment) {
        this.sr_comment = sr_comment;
    }
}
